//
//  WDArrivalSubmitReportRequest.m
//  wd-serviceapp
//
//  Created by Bin Tang on 2024/9/4.
//

#import "WDArrivalSubmitReportRequest.h"

@interface WDArrivalSubmitReportRequest ()
@property (nonatomic, strong) WDArrivalSubmitReportReqModel *reqModel;
@end

@implementation WDArrivalSubmitReportRequest

- (instancetype)initWithModel:(WDArrivalSubmitReportReqModel *)model {
    if (self = [super init]) {
        self.reqModel = model;
    }
    return self;
}


- (NSString *)requestUrl {
    return kSTATION_TASK_ARRIVAL_SUBMIT_REPORT;
}

- (TYZRequestSerializerType)requestSerializerType {
    return TYZRequestSerializerTypeJSON;
}

- (TYZRequestMethod)requestMethod {
    return TYZRequestMethodPOST;
}

- (id)requestArgument {
    NSDictionary *params = [self.reqModel yy_modelToJSONObject];
    return params;
}


@end
